<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'SignIn.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <h1>注册</h1>
    <h5>请认真填写相关信息！</h5>
    <cite><s:fielderror/></cite>
    <s:form action="/signin.action" method="post">
    	<s:textfield name="age" label="年龄"/>
    	<s:textfield name="email" label="电邮"/>
    	<s:textfield name="birthday" label="生日"/>
    	<s:textfield name="phone" label="电话"/>
    	<s:submit value="我已经填写好了，注册！"/>
    </s:form>
  </body>
</html>
